<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="../static/header.jsp" %>
<script type="text/javascript">
    $(document).ready(function() {
 
        $("#firma_list").addClass("selected");
   
    });
    


</script>

<a href="<c:url value="/create/firma.htm" />">Dodaj Firmę</a>
<table cellpadding="5" cellspacing="2" border="1" width="100%" align="center" id="aplication_body">
    <tbody>
        <tr>
            <td width="20%" valign="top" id="td_body" class="grid">
                null
            </td>
            <td width="100%" valign="top" id="td_body" class="grid">
                <table class="grid " width="100%">
                    <tbody>
                        <tr>
                           <th>Firma</th>
                           <th>Stan</th>
                           <th>Faktura</th>
                           <th>Informacje</th>
                           <th>Akcje</th>
                        </tr>
                        <c:forEach items="${firms}" var="fi">
                                        
                            <tr>
                                <td><c:out value="${fi.name}"/></td>
                                <td>Oczekuje na wyslanie</td>
                                <td></td>
                                <td></td>
                                <td>
                                    <a href="<c:url value="/create/firma.htm/${fi.idFirma}" />">Edycja</a>
                                    <a href="<c:url value="/view/firma.htm/${fi.idFirma}" />">Podgląd</a>
                                </td>
                            </tr>
                        </c:forEach>    
                    </tbody>
                </table>
            </td>
        </tr>
    </tbody>
</table>
                        
<!-- END LOGIN -->
<%@include file="../static/footer.jsp" %>